#ifndef Vertex_h__
#define Vertex_h__


// Vertex with format: position(x,y,z), normal and texture
struct Vertex_PNT
{
	Vertex_PNT(){}
	Vertex_PNT( float x, float y, float z, 
				float nx, float ny, float nz,
				float u, float v)
	{
		_x  = x;  _y  = y;  _z  = z;
		_nx = nx; _ny = ny; _nz = nz;
		_u  = u;  _v  = v;
	}
	float _x, _y, _z;
	float _nx, _ny, _nz;
	float _u, _v;

	enum 
	{
		FVF = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1
	};
};



// Vertex with format: position(x,y,z) and texture
struct Vertex_PT
{
	Vertex_PT(){}
	Vertex_PT(float x, float y, float z, 
			  float u, float v)
	{
		_x  = x;  _y  = y;  _z  = z;		
		_u  = u;  _v  = v;
	}
	float _x, _y, _z;
	float _u, _v;

	enum 
	{
		FVF = D3DFVF_XYZ | D3DFVF_TEX1
	};
};

#endif // Vertex_h__